<?php function wp_env_setting_page_list($setting){ var_dump($setting); ?>
	<div class="wrap">
		<div class="setting-list">
      <h1>环境列表</h1>
			<table class="wp-list-table widefat fixed striped pages">
				<thead>
					<tr>
						<td id="cb" class="manage-column column-cb">
              环境名称
						</td>
						<th scope="col" id="title" class="manage-column column-title column-primary sortable desc">
              操作
						</th>
					</tr>
				</thead>

				<tbody id="the-list">
					<tr id="post-2" class="iedit author-self level-0 post-2 type-page status-publish hentry">
						<td class="title column-title has-row-actions column-primary page-title" data-colname="标题">
							<strong><a class="row-title" href="#" title="编辑“示例页面”">名字1</a></strong>
						</td>
						<td class="author column-author" data-colname="作者">
              <a href="#">删除</a>
              <a href="#">编辑</a>
            </td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>

	<?php } ?>
  <?php
  function wp_env_setting_page_detail(){ ?>

    <div class="wrap">
  		<div class="setting-detail">
  			<h1>编辑详情</h1>

  			<form method="post" action="" novalidate="novalidate">
  				<input type="hidden" name="envName" value="test">
  				<table class="form-table">
  					<tbody>
              <tr>
  							<th scope="row">
  								<label for="siteurl">环境名称</label>
  							</th>
  							<td>
  								<input name="ENV[displayname]" type="url" value="<?php echo $setting['displayname'] ?>" class="regular-text code">
  							</td>
  						</tr>
              <tr>
  							<th scope="row">
  								<label for="siteurl">环境别名</label>
  							</th>
  							<td>
  								<input name="ENV[name]" type="url" value="<?php echo $setting['displayname'] ?>" class="regular-text code">
  							</td>
  						</tr>
  						<tr>
  							<th scope="row">
  								<label for="siteurl">WordPress地址（URL）</label>
  							</th>
  							<td>
  								<input name="SETTINGS[WP_SITEURL]" type="url" value="<?php echo $setting['WP_SITEURL'] ?>" class="regular-text code">
  							</td>
  						</tr>
  						<tr>
  							<th scope="row">
  								<label for="home">站点地址（URL）</label>
  							</th>
  							<td>
  								<input name="SETTINGS[WP_HOME]" type="url" value="<?php echo $setting['WP_HOME'] ?>" class="regular-text code">
  							</td>
  						</tr>
  					</tbody>
  				</table>
  				<p class="submit">
  					<input type="submit" name="submit" id="submit" class="button button-primary" value="保存更改">
  				</p>
  			</form>
  		</div>
  	</div>


  <?php } ?>
